﻿namespace Eneta.Portal.Forum.Core.Service.Builders
{
    public class ListDirector
    {
        // Methods
        public void ConstructList(ListBuilder builder)
        {
            builder.CreateList();
            builder.AddFields();
            if (builder.CreateDefaultValues)
            {
                builder.AddSampleData();
            }
            builder.HideList();
        }
    }
}
